Spread Windows Forms 17
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / SparseArray<T> Class / CopyTo Method / CopyTo(T[],Int32) Method
The one-dimensional System.Array that is the destination of the elements copied from the current SparseArray.
A 32-bit integer that represents the index in array at which copying begins.


In This Topic
    CopyTo(T[],Int32) Method
    In This Topic
    Copies all the elements of the current one-dimensional System.Array to the specified one-dimensional SparseArray starting at the specified destination SparseArray index. The index is specified as a 32-bit integer.
    Syntax
    'Declaration
     
    
    Public Overloads Sub CopyTo( _
       ByVal array() As T, _
       ByVal arrayIndex As Integer _
    ) 
    'Usage
     
    
    Dim instance As SparseArray(Of T)
    Dim array() As T
    Dim arrayIndex As Integer
     
    instance.CopyTo(array, arrayIndex)
    public void CopyTo( 
       T[] array,
       int arrayIndex
    )

    Parameters

    array
    The one-dimensional System.Array that is the destination of the elements copied from the current SparseArray.
    arrayIndex
    A 32-bit integer that represents the index in array at which copying begins.
    See Also